package com.cx.base.day19_thread;

import java.util.concurrent.ConcurrentHashMap;

/**
 * @Author: robert.song
 * @Date: Created in 2021/12/1
 */
public class Test {
    public static void main(String[] args) {
        S.main(args);
    }

    private static void test() {
        System.out.println("test");
    }
}

interface Test2 {
    public default void test1() {
        System.out.println("default method of interface");
    }
}

class F {
    public final int i = 0;
    public static final int j = 0;
}

class S extends F {
    public final int i = 1;
    public static final int j = 0;

    public void test() {
        System.out.println(this.i);
        System.out.println(super.i);
    }

    public static void main(String[] args) {
        S s = new S();
        s.test();
        ConcurrentHashMap map = new ConcurrentHashMap();
        map.put("test", null);
        System.out.println(map.get("test"));
    }
}
